package org.com.mars.controller.test_security;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;  
  
@Controller  
@RequestMapping("/system")  
public class SecurityController {  
  
    /** 
     * 跳转到user页面 
     *  
     * @return 
     */  
    @RequestMapping(value = "/user.ht", method = RequestMethod.GET)  
    public String getCommonPage() {  
        return "securitytest/requestResult";  
    }  
  
    /** 
     * 跳转到resource页面 
     *  
     * @return 
     */  
    @RequestMapping(value = "/resource.ht", method = RequestMethod.GET)  
    public String getAadminPage() {  
        return "securitytest/requestResult";  
  
    }  
  
}  
